<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改信息</title>
<c:if test="${!(empty sessionScope.message)}">
	<script type="text/javascript">
		alert('<c:out value="${sessionScope.message}"/>');
	</script>
	<c:remove var="message" scope="session"/>
</c:if>
</head>
<body>
	<form action="upadmin?username=${admin.username }" method="post" >
		<input type="hidden" name="id" value="${admin.id }" />
	    姓名：<input type="text" name="name" value="${admin.name }"/><br>
	    密码:<input type="text" name="password" value="${admin.password }"/><br>
	    邮箱：<input type="text" name="email" value="${admin.email }"/><br>
	   电话：<input type="text" name="telephone" value="${admin.telephone }"/><br>
	    <input type="submit" value="修改">
	    <a href="allproduct?username=${admin.username }"><input type="button" value="返回" ></a>
	</form>
</body>
</html>